package org.dromara.demo.domain.bo;

import org.dromara.common.mybatis.core.domain.BaseEntity;
import org.dromara.common.core.validate.AddGroup;
import org.dromara.common.core.validate.EditGroup;
import io.github.linpeilie.annotations.AutoMapper;
import lombok.Data;
import lombok.EqualsAndHashCode;
import jakarta.validation.constraints.*;
import org.dromara.demo.domain.JsSuite;

/**
 * 用例执行业务对象 js_execute
 *
 * @author zhu
 * @date 2024-12-31
 */
@Data
@EqualsAndHashCode(callSuper = true)
@AutoMapper(target = JsSuite.class, reverseConvertGenerate = false)
public class JsSuiteBo extends BaseEntity {

    /**
     * 主键
     */
    @NotNull(message = "主键不能为空", groups = { EditGroup.class })
    private Long id;

    /**
     * 套件名称
     */
    private String name;

    /**
     * 用例id
     */
    @NotNull(message = "用例id不能为空", groups = { AddGroup.class, EditGroup.class })
    private String exampleId;

    private String exampleName;

    private String examplePath;

    /**
     * 状态0未完成，1已完成
     */
    private String status;


}
